import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';

const dashboard: AppRouteModule = {
  path: '/sa',
  name: 'Sa',
  component: LAYOUT,
  redirect: '/sa/agent/main',
  meta: {
    // hideChildrenInMenu: true,
    icon: 'ant-design:trophy-outlined',
    title: 'DEMO',
    orderNo: 3,
  },
  children: [
    {
      path: 'agent/main',
      name: 'SaAgentMain',
      component: () => import('/@/pages/sa/agent/main/index.vue'),
      meta: {
        title: '代理商清单',
        ignoreKeepAlive: false,
        // icon: 'simple-icons:about-dot-me',
        // hideMenu: true,
      },
    },
  ],
};

export default dashboard;
